#include "Player.h"

Player::Player()
{
	m_State = IDLE ;
	m_Energy = 3000 ;
	m_Shields = 0 ;
	m_Missiles = 10 ;

	m_GPosition = D3DXVECTOR2(NULL, NULL) ;
	m_QPosition = D3DXVECTOR2(NULL, NULL) ;
}

void Player::SetState( int a_state )
{
	m_State = a_state ;
}

void Player::SetEnergy( int amount )
{
	m_Energy = amount ;
}

void Player::SetShields( int amount )
{
	m_Shields = amount ;
}

void Player::SetMissiles( int amount )
{
	m_Missiles = amount ;
}

void Player::SetGPosition( D3DXVECTOR2 pos )
{
	m_GPosition = pos ;
}

void Player::SetQPosition( D3DXVECTOR2 pos )
{
	m_QPosition = pos ;
}